Ext.require([
    'Ext.window.MessageBox'
])
Desktop.views.Base = function(){	
}
Desktop.views.Base.prototype.ShowMessage = function(msg, title, button, icon, callbackFn){
	var config = {
		msg: '<br>' + msg,
		title: title,
	    minWidth: 200,
	    buttons: button,
	    icon: icon
	};
	if (callbackFn){
		Ext.apply(config, {fn: callbackFn, scope:this})
	}
	Ext.MessageBox.show(config);
}